package com.qf.cm.dao;

import com.qf.cm.pojo.Stage;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Description: 公用常量
 * @Data: 2022/9/7 17:30
 * @Pacakge: com.qf.cm.dao
 * @ClassName: StageDao
 * @Author: fan
 */
@Repository
public interface StageDao {
    @Select("select * from stage where pid = #{pid}")
    List<Stage> findStageByPid(@Param("pid")Integer pid);
    @Select("select * from stage where sname = #{sname}")
    Stage findStageBySname(@Param("sname") String sname);
}
